package com.xkstream.client.presenter;

import com.xkstream.client.base.BaseData;
import com.xkstream.client.base.BasePresenter;
import com.xkstream.client.base.BaseView;
import com.xkstream.client.entity.User;

import java.util.Map;

/**
 * Created by xiaoyi on 2017-8-28.
 */

public interface RegisterContractV2 {
    interface Presenter extends BasePresenter {
        void anchorRegister(Map<String, Object> params);
    }

    interface View extends BaseView<Presenter> {

        void registerFailed(int code, String msg);

        void loginSuccess(User data);
    }

}
